<?php /* Smarty version 2.6.26, created on 2011-05-17 14:34:45
         compiled from message.html */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>留言板</title>
<link type="text/css" href="<?php echo $this->_tpl_vars['url_path']; ?>
/templates/css/base.css" rel="stylesheet" />
<link type="text/css" href="<?php echo $this->_tpl_vars['url_path']; ?>
/templates/css/common.css" rel="stylesheet" />
<link type="text/css" href="<?php echo $this->_tpl_vars['url_path']; ?>
/templates/css/page.css" rel="stylesheet" />
</head>

<body>
<div class="wrap">
  <!-- 头部 -->
  <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
  <!-- /头部 --> 
  <div class="main">
     <div class="mainContent">
         <div class="title-long"><h3 class="ml20 ffs f18 fb">芋头的留言</h3></div>
         <div class="sidebar ml30 f13">
            <ul class="tc">
              <li><img src="<?php echo $this->_tpl_vars['url_path']; ?>
<?php echo $this->_tpl_vars['myinfo']['user_img']; ?>
"width=108/></li>
              <li class="f14 mt5"><a href="#">加为博友</a></li>
            </ul>
            <!--  <ul class="last">
              <li class="mt30">博客等级<span class="ml20">11</span></li>
              <li class="mt5">近日访问<span class="ml20">11</span></li>
              <li class="mt5">总访问量<span class="ml20">1111</span></li>
              <li class="mt5">最后登录<span class="ml20">2010-11-11 11:11</span></li>
            </ul>-->
            <ul class="f16 lh30 mt30">
               <li><a href="#">&gt;&gt;个人资料</a></li>
               <li><a href="#">&gt;&gt;留言</a></li>
               <li><a href="#">&gt;&gt;评论</a></li>
               <li><a href="#">&gt;&gt;最近访客</a></li>
            </ul>            
         </div>
         <div class="content">
             <form action="" method="post" class="f14">
                <ul>
                  <li><label>姓名：</label><input name="re_name" type="text" class="short" value="<?php if ($this->_tpl_vars['me']['name']): ?><?php echo $this->_tpl_vars['me']['name']; ?>
<?php else: ?>游客<?php endif; ?>"/><span>（必填）</span>
                    <!-- 判断是否用新浪微博登录，若未登录，则显示登录按钮 -->
                    <?php if (! $this->_tpl_vars['sinalogined']): ?><a href="<?php echo $this->_tpl_vars['aurl']; ?>
"><input type="button" class="buttonSinaLogin"/></a>
                    <?php else: ?>
                    <input name="updatetoweibo" type="checkbox" value="true"/>
                    <input type="button" class="buttonSinaBG" value="转发到微博"/>
                    <?php endif; ?>
                    <!-- /判断是否用新浪微博登录，若未登录，则显示登录按钮 --></li>
                  <li><label>邮箱或网址：</label><input name="re_email" type="text"  class="long"/><span>（选填）</span></li>
                  <li><label>留言：</label></li>
                  <li><textarea name="msg_content" cols="" rows=""></textarea></li>
                  <li><input name="" type="submit" value="提交" class="buttonShort" />&nbsp;&nbsp;<input name="" type="reset" value="重置"  class="buttonShort"/></li>
                </ul>
             </form>
             <ul class="message mt15 f14">
             <?php unset($this->_sections['msg']);
$this->_sections['msg']['name'] = 'msg';
$this->_sections['msg']['loop'] = is_array($_loop=$this->_tpl_vars['remsg']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['msg']['show'] = true;
$this->_sections['msg']['max'] = $this->_sections['msg']['loop'];
$this->_sections['msg']['step'] = 1;
$this->_sections['msg']['start'] = $this->_sections['msg']['step'] > 0 ? 0 : $this->_sections['msg']['loop']-1;
if ($this->_sections['msg']['show']) {
    $this->_sections['msg']['total'] = $this->_sections['msg']['loop'];
    if ($this->_sections['msg']['total'] == 0)
        $this->_sections['msg']['show'] = false;
} else
    $this->_sections['msg']['total'] = 0;
if ($this->_sections['msg']['show']):

            for ($this->_sections['msg']['index'] = $this->_sections['msg']['start'], $this->_sections['msg']['iteration'] = 1;
                 $this->_sections['msg']['iteration'] <= $this->_sections['msg']['total'];
                 $this->_sections['msg']['index'] += $this->_sections['msg']['step'], $this->_sections['msg']['iteration']++):
$this->_sections['msg']['rownum'] = $this->_sections['msg']['iteration'];
$this->_sections['msg']['index_prev'] = $this->_sections['msg']['index'] - $this->_sections['msg']['step'];
$this->_sections['msg']['index_next'] = $this->_sections['msg']['index'] + $this->_sections['msg']['step'];
$this->_sections['msg']['first']      = ($this->_sections['msg']['iteration'] == 1);
$this->_sections['msg']['last']       = ($this->_sections['msg']['iteration'] == $this->_sections['msg']['total']);
?>
                  <li>
                      <h4 class="fl"><?php echo $this->_tpl_vars['remsg'][$this->_sections['msg']['index']]['re_name']; ?>
</h4><img src="<?php echo $this->_tpl_vars['url_path']; ?>
/templates/images/icon02.jpg" class="ml10"/><span class="fr"><?php echo $this->_tpl_vars['remsg'][$this->_sections['msg']['index']]['msg_time']; ?>
</span>
                      <p class="mt15"><?php echo $this->_tpl_vars['remsg'][$this->_sections['msg']['index']]['msg_content']; ?>
</p>
                      <p class="tr">IP:<?php echo $this->_tpl_vars['remsg'][$this->_sections['msg']['index']]['msg_IP']; ?>
</p>
                  </li>
             <?php endfor; endif; ?> 
            </ul>
            <p class="mt10 tr"><?php echo $this->_tpl_vars['pagenav']; ?>
</p>
         </div>
     </div>
  <!-- 导航 -->
  <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "nav.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
  <!-- /导航 -->
  </div>
  <!-- 页脚 -->
  <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
  <!-- /页脚 --> 
</div>
</body>
</html>